package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.Groups;

public interface GroupsMapper {

	public int deleteGroupsById(long id);

	public Groups selectGroupsById(long id);

	public List<Groups> selectGroupsByMap(Map<String,Object> map);

	public List<Groups> selectGroups(Groups groups);

	public List<Groups> selectAllGroups();

	public int insertGroups(Groups groups);

	public int updateGroups(Groups groups);

	public int deleteGroups(Groups groups);

	public int updateGroupsByMap(Map<String,Object> map);

	public int deleteGroupsByMap(Map<String,Object> map);
	public int getAllGroupsCounts();
	public int getGroupsCounts(Groups groups);
	public int getGroupsCountsByMap(Map<String,Object> map);
}
